<m-status-card name="系统更新统计" [value]="upgrade$ | async" [color]="color">
  <button *ngIf="!zone; else elseRef" class="btn btn-sm btn-secondary" (click)="select.open()">
    自定义统计
  </button>
  <ng-template #elseRef>
    <ng-content></ng-content>
  </ng-template>
</m-status-card>

<m-zone-select-input #select [selection]="selection" ngModel (ngModelChange)="change()" hidden>
</m-zone-select-input>
